#############################################################
# Copyright (c) 2015, John Lee <furious_tauren@163.com>
# Thu Apr 16 09:25:01 CST 2015
#############################################################

export ARCH ?= arm
export CROSS_COMPILE := arm-linux-gnueabihf-

Q ?= @
CP := cp -af
CPU_NR ?= 8
MAKE := make -s
STRIP := $(CROSS_COMPILE)strip

REPOS := $(TOPDIR)/dl
SYSLIB := $(shell $(CROSS_COMPILE)gcc -print-sysroot)/lib

U_BOOT ?= $(REPOS)/u-boot-2016.07
BBDIR ?= $(REPOS)/busybox-1.25.0
FSDIR ?= $(TOPDIR)/rootfs

export KERNDIR ?= $(REPOS)/linux-4.2.3
export BIN ?= $(FSDIR)/bin
export PUBDIR ?= $(FSDIR)/pub

FAKEROOT ?= $(FSDIR)/pub/fakeroot
MODDIR := $(FAKEROOT)/lib/modules
export INSTALL_MOD_PATH = $(FAKEROOT)

INSTDIR="/home/linus/VirtualBox VMs/shared/mfgtools/Profiles/MX6DL Linux Update/OS Firmware"
NFSDIR="/home/linus/service/nfs/public"

